Ext.define('DragonApp.view.property.StatusBar', {
    extend: 'Ext.ux.StatusBar',
    alias: 'widget.property_htmleditor_statusbar',

    requires: [
        'DragonApp.view.property.StatusBarController'
    ],

    controller: 'propertystatusbar',

    items: ['-', {
        reference: 'charCount',
        xtype: 'tbtext',
        text: '字符数: 0'
    }],
    listeners: {
        render: 'onBarRender',
        delay: 100
    }
});